
find_package( OpenGL)
message(status " openGl lib :${OPENGL_LIBRARIES}")
add_executable( sinewave sinewave.cpp )
target_link_libraries( sinewave ${OPENCL_LIBRARIES} ${OPENGL_LIBRARIES} GLEW glut)
#target_link_libraries( sinewave ${OPENCL_LIBRARIES} GLU GL GLEW glut)

configure_file(sinewave.cl ${CMAKE_CURRENT_BINARY_DIR}/sinewave.cl COPYONLY)
